package com.yinkgh.mybatis.common.service;

import java.util.List;

public interface BaseService<T> {

	int deleteByPrimaryKey(Long id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(Long id);

    List<T> selectListByPrimaryKey(T record);
    
    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
    
	int insertBatch(List<T> records);

	

}
